/* 
 * File:   ImageConverter.h
 * Author: Guilherme Monteiro
 *
 */

#ifndef IMAGEFORMATCONVERTER_H
#define	IMAGEFORMATCONVERTER_H

#include "../../TableTranscriber2/headers/MetaInfo.h"
#include "../headers/TessMetaInfo.h"

#include <ImageMagick-6/Magick++.h>

using namespace std;
using namespace Magick;

class ImageFormatConverter {
public:
    ImageFormatConverter(TessMetaInfo* meta);
    ImageFormatConverter(const ImageFormatConverter& orig);
    virtual ~ImageFormatConverter();
    void convertToTiffFormat() throw (NullImageException);
private:
    TessMetaInfo* metainfo;
};

#endif	/* IMAGEFORMATCONVERTER_H */

